import { Progress } from "./Progress";
import "./App.css";
function App() {
  let dataList = [
    {
      num: 0,
      unit: "件",
      score: 0
    },
    {
      num: 2,
      unit: "件",
      score: 10
    },
    {
      num: 4,
      unit: "件",
      score: 20
    },
    {
      num: 8,
      unit: "件",
      score: 40
    },
    {
      num: 10,
      unit: "件",
      score: 60
    }
  ];
	let completion = 6.8;
  return (
    <div className="root">
      <Progress dataList={dataList} width="400" completion={completion} />
			{`完成值：${completion}`}
    </div>
  );
}

export default App;
